<template>
  <div>
    <!-- 机构 -->
    <tenantPage v-if="spInfo && spInfo.roleAlias == 'boss'" />
    <!-- 代理 -->
    <agtPage v-else />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import tenantPage from './tenantPage.vue'
import agtPage from './agtPage.vue'
export default {
  components: {
    tenantPage, agtPage
  },
  computed: {
    ...mapGetters(['agentFlow', 'spInfo'])
  }
}
</script>

<style>

</style>
